Skip to content

[WPB-10314] validate swagger: add swagger linter to integration tests (so it'll run in CI).#4302

Merged
fisx merged 21 commits intodevelopfrom
WPB-10314-validate-swagger-2
Oct 25, 2024
Merged

[WPB-10314] validate swagger: add swagger linter to integration tests (so it'll run in CI).#4302
fisx merged 21 commits intodevelopfrom
WPB-10314-validate-swagger-2

Conversation

@fisx
Copy link
Contributor

@fisx fisx commented Oct 22, 2024

This PR adds an integration test that runs the openapi linter vacuum on both the public and the internal API. It also fixes all the validation failures reported by the tool.

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@echoes-hq echoes-hq bot added the echoes: unplanned Any work item that isn’t part of the product or technical roadmap. label Oct 22, 2024
@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Oct 22, 2024
@fisx fisx force-pushed the WPB-10314-validate-swagger-2 branch from 462ac5f to 3983741 Compare October 22, 2024 15:52
@fisx fisx changed the title [WPB-10314] validate swagger 2 [WPB-10314] validate swagger: add swagger linter to integration tests (so it'll run in CI). Oct 22, 2024
@fisx fisx marked this pull request as ready for review October 22, 2024 16:21
@pcapriotti
Copy link
Contributor

Didn't we say the plan was to write a tool that produces the swagger JSON at linting time? Adding this to integration tests feels wrong.

@pcapriotti pcapriotti force-pushed the WPB-10314-validate-swagger-2 branch from 3983741 to 93f82da Compare October 23, 2024 07:44
@fisx fisx force-pushed the WPB-10314-validate-swagger-2 branch from bc00241 to e01dde3 Compare October 23, 2024 08:40
@pcapriotti pcapriotti force-pushed the WPB-10314-validate-swagger-2 branch 2 times, most recently from 762a241 to 7d2735e Compare October 23, 2024 13:31
@fisx fisx force-pushed the WPB-10314-validate-swagger-2 branch from fefd4ad to 49b5547 Compare October 23, 2024 16:20
@pcapriotti pcapriotti force-pushed the WPB-10314-validate-swagger-2 branch from d6c7109 to 88ea3c9 Compare October 24, 2024 09:02
Copy link
Contributor Author

@fisx fisx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! @pcapriotti could you please approve and merge? i created this PR.

Co-authored-by: Matthias Fischmann <mf@zerobuzz.net>
@fisx fisx merged commit 99acd4c into develop Oct 25, 2024
@fisx fisx deleted the WPB-10314-validate-swagger-2 branch October 25, 2024 15:28
@pcapriotti
Copy link
Contributor

This was actually still missing fixes for galley's internal API swagger. I wasn't expecting you to merge. It's fine, I'll make a new PR.

fisx added a commit that referenced this pull request Oct 30, 2024
@fisx fisx mentioned this pull request Oct 30, 2024
2 tasks
fisx added a commit that referenced this pull request Oct 30, 2024
* Haddocks.

* Re-add accidentally removed add-bot@v6 route in nginz.

Fixes #4302 (99acd4c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

echoes: unplanned Any work item that isn’t part of the product or technical roadmap. ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants